package atm;

/**
 * 用户类
 */

public class User {
    private String account;  //账户
    private String pwd;    //密码
    private double blance; //余额
    public User(){}   //用户
    public User(String account,String pwd,double blance){
        this.account = account;
        this.pwd = pwd;
        this.blance = blance;
    }
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    ////////////////////////////////////////////////////////////////
    public String getPwd(){
        return  pwd;
    }
    public void setPwd(String pwd){
        this.pwd = pwd;
    }
    //////////////////////////////////////////////////////////////////////
    public double getBlance(){
        return blance;
    }
    public void setBlance(double blance){
        this.blance=blance;
    }

}
